// module.exports = {
//   plugins: [
//     [
//       'import',
//       {
//         libraryName: 'element-plus',
//         customStyleName: (name) => {
//           return `element-plus/theme-chalk/${name}.css`
//         },
//         customName: (name) => {
//           let nameList = name.split('-')
//           let slength = '-item'.length
//           let nlength = String(name).length
//           //对item结尾组件处理
//           if (nameList.length && nameList.includes('item')) {
//             return `element-plus/lib/components/${name.slice(
//               3,
//               nlength - slength
//             )}`
//           }
//           return `element-plus/lib/components/${name.slice(3)}`
//         }
//       }
//     ]
//   ],
//   presets: ['@vue/cli-plugin-babel/preset']
// }

module.exports = {
  presets: ['@vue/cli-plugin-babel/preset']
}
